package com.meilai.project.entity.media;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("media_point")
@ApiModel(value = "媒体表")
public class MediaPoint extends BaseEntity {
    @ApiModelProperty(value = "二维码编号")
    private String qrcode;
    @ApiModelProperty(value = "nfc编号")
    private String nfc_code;
    @ApiModelProperty(value = "编号")
    private String code;
    @ApiModelProperty(value = "项目id", example = "1")
    private Long building_area_id;
    @ApiModelProperty(value = "媒体类型id", example = "1")
    private Long media_type_id;
    @ApiModelProperty(value = "媒体类型规格id", example = "1")
    private Long media_type_spec_id;

    @ApiModelProperty(value = "AB面id", example = "1")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long ab_type_id;
    @ApiModelProperty(value = "画面属性id", example = "1")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long pic_type_id;
    @ApiModelProperty(value = "最新审核通过Id", example = "1")
    private Long latest_audit_id;
    @ApiModelProperty(value = "最新转态审核通过id，转态（新安装、上刊、下刊）", example = "1")
    private Long latest_audit_extra_id;

    @ApiModelProperty(value = "楼层类型：1、多层2、高层", example = "1")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer building_type;
    @ApiModelProperty(value = "楼号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String building_number;
    @ApiModelProperty(value = "单元号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String unit_number;
    @ApiModelProperty(value = "层数")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String floor;
    @ApiModelProperty(value = "门号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String door_number;
    @ApiModelProperty(value = "位置")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String location;

    @ApiModelProperty(value = "对外_尺寸_长(cm)")
    private String size_length;
    @ApiModelProperty("对外_尺寸_宽(cm)")
    private String size_width;
    @ApiModelProperty(value = "对外_尺寸_高(cm)")
    private String size_height;
    @ApiModelProperty(value = "对内_尺寸_长(cm)")
    private String size_length_inside;
    @ApiModelProperty("对内_尺寸_宽(cm)")
    private String size_width_inside;
    @ApiModelProperty(value = "对内_尺寸_高(cm)")
    private String size_height_inside;
    @ApiModelProperty(value = "备注", example = "1")
    private String remark;
    @ApiModelProperty(value = "纬度", example = "30.000000")
    private BigDecimal lat;
    @ApiModelProperty(value = "经度", example = "120.000000")
    private BigDecimal lng;
    @ApiModelProperty(value = "故障类型，0：未故障；1：有故障")
    private Boolean breakdown_type;
    @ApiModelProperty(value = "是否亮灯，0：不亮；1：亮灯")
    private Boolean is_light;

    @ApiModelProperty(value = "编号入库，0：否；1：是")
    private Integer import_by_code;

    @ApiModelProperty(value = "方向 大屏专属")
    private String direction;

    @ApiModelProperty(value = "分辨率单位（大屏专属）数据来源于字典表")
    private Long resolving_power;

    @ApiModelProperty(value = "分辨率（大屏专属）")
    private String resolving_power_value;

    @ApiModelProperty(value = "颜色模式（大屏专属）数据来源于字典表")
    private Long color_mode;

    @ApiModelProperty(value = "颜色位数（大屏专属）数据来源于字典表")
    private Long color_bits;

    @ApiModelProperty(value = "开启时间（大屏专属）")
    private String opening_time;

    @ApiModelProperty(value = "关闭时间（大屏专属）")
    private String closing_time;

    @ApiModelProperty(value = "视频格式（大屏专属）数据来源于字典表")
    private Long video_format;
}
